<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
	  
	  <h:head>
	  	<h:outputScript library="javax.faces" name="jsf.js"/>
	  	<h:outputScript library="primefaces" name="jquery/jquery.js"/>
	  </h:head>
	  <h:body>
	  	<h:form id="reserva">
	  		<label>
	  			<span>Número da Mesa</span>
	  			<p:inputText id="numDeMesa" binding="#{nome}"></p:inputText>
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Data da Reserva</span>
	  			<p:inputText id="dtRes"></p:inputText>
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Data da Expiração</span>
	  			<p:inputText id="dtExpiractao"></p:inputText>
	  		</label>
	  		<br/>
	  		<label>  			
	  			<span>Status</span>
	  			<p:inputText id="statusRes"> </p:inputText>
	  		</label>
	  		<br/>
	  		<p:commandButton action="#{reservaService.save(name.vallue)}" value="Salvar"></p:commandButton>  	
	  	</h:form>
	  </h:body>
</html>